package com.smartleanx.module.hrm.controller.admin.employee.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 员工基本信息
 */
@Schema(description = "管理后台 - 员工基础信息 Response VO")
@Data
public class EmployeeBasicInfoRespVo {

    @Schema(description = "员工id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7386")
    private Long id;

    @Schema(description = "员工姓名")
    private String name;

    @Schema(description = "员工工号")
    private String employeeNo;

    @Schema(description = "部门")
    private String deptName;

    @Schema(description = "岗位")
    private String postName;

    @Schema(description = "岗级")
    private String postLevel;

    @Schema(description = "聘用形式")
    private String employmentForm;

    @Schema(description = "员工状态")
    private Integer state;

    @Schema(description = "计划转正日期")
    private LocalDateTime planRegularizationTime;

    @Schema(description = "转正日期")
    private LocalDateTime regularizationTime;

    @Schema(description = "入职时间")
    private LocalDateTime entryTime;

    @Schema(description = "岗级id")
    private Long postLevelId;

    @Schema(description = "部门ID")
    private Long deptId;

    @Schema(description = "岗位id")
    private Long postId;

    @Schema(description = "司龄（月）")
    private Long companyAge;

    @Schema(description = "用户头像", example = "https://www.google.com/xxx.png")
    private String avatar;

    @Schema(description = "手机号码", requiredMode = Schema.RequiredMode.REQUIRED, example = "15601691300")
    private String mobile;

    @Schema(description = "个人邮箱", example = "leanxcloud@leanmaster.cn")
    private String personalEmail;

    @Schema(description = "用户性别，参见 SexEnum 枚举类", example = "1")
    private Integer sex;
}
